﻿<?xml version="1.0" encoding="utf-8" ?>
<Recipe xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  Name="ExecAdmSvcJobs"
  xmlns="http://schemas.microsoft.com/pag/gax-core"
  Bound="false">
  <xi:include href="../../../TypeAlias.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
  <Caption>stsadm execadmsvcjobs</Caption>
  <Description>Runs stsadm -o execadmsvcjobs to run all pending deployment jobs.</Description>
  <HostData Priority="300">
    <Icon File="spsf.ico" />
    <CommandBar Menu="SPSFSolutionSTSADMHelpers"/>
    <CommandBar Menu="SPSFProjectSTSADMHelpers"/>
    <CommandBar Menu="SPSFSolutionFolderSTSADMHelpers"/>
    <spsf:MetaData
      Visible="true"
      BindingType="AnyElementReference"
      BindingTypeTemplate="AnyElementReferenceTemplate"
      Enabled="true"
      ExcludeFromTests="true"
      CreateVSTemplate="false"
      Category="STSADMHelpers" xmlns:spsf="http://www.spalmblogger.de">
      <spsf:Authors>
        <spsf:Author>Torsten Mandelkow</spsf:Author>
      </spsf:Authors>
      <spsf:VersionHistory>
        <spsf:VersionHistoryEntry>1.0 Initial Recipe</spsf:VersionHistoryEntry>
      </spsf:VersionHistory>
      <spsf:WebPageContent>
        <![CDATA[]]>
      </spsf:WebPageContent>
    </spsf:MetaData>
  </HostData>
  <Arguments>
    <Argument Name="StsadmPath" Type="System.String" Required="true">
      <ValueProvider Type="STSADMPathProvider"/>
    </Argument>    
    <Argument Name="CommandExecAdmSvcJobs" Type="System.String" Required="true">
      <ValueProvider Type="Evaluator" Expression="&quot;$(StsadmPath)&quot; -o execadmsvcjobs" />
    </Argument>    
  </Arguments>
  <Actions>
    <Action Name="RunCommand" Type="RunCommand">
      <Input Name="Command" RecipeArgument="CommandExecAdmSvcJobs" />
    </Action>    
  </Actions>
</Recipe>